p2m: query/modify p2mt with p2m_lock held
authorOlaf Hering <olaf@aepfle.de>
Thu, 6 Oct 2011 13:15:43 +0000 (14:15 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 6 Oct 2011 13:15:43 +0000 (14:15 +0100)
commit17f9019fa89aaeaf1ebbc3afa1c4f861a782073c
tree9ebb7d253103b1297c72eb88f87d7b6bb39a5ce7
parent8adb13efb2d4322df171228f5f85e5fbddb78f99
p2m: query/modify p2mt with p2m_lock held

Query and update the p2mt in set_mmio_p2m_entry, clear_mmio_p2m_entry
and set_shared_p2m_entry with the p2m_lock held.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c